/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package calculator;

import result.ResultCalculation;

/**
 *
 * @author 11
 */
public class ZeroCalculator implements Calculator{

    @Override
    public ResultCalculation calculate(String fromCity, String toCity) {
        return new ResultCalculation(fromCity, toCity, getType(), 0.0);
    }

    @Override
    public TypeCalculator getType() {
        return new TypeCalculator("Zero Calculator");
    }
    
}
